import java.util.HashMap;
import java.util.Map;

public class TestA {
    private static final ThreadLocal<Map<String, String>> localMap = ThreadLocal.withInitial(HashMap::new);

    public void insert() {
        localMap.get().put("faiz", "555");
    }

    public ThreadLocal<Map<String, String>> getThreadLocal() {
        return localMap;
    }
}
